package org.azj.dbOperatorComponent;
import java.sql.SQLException;

import javax.sql.DataSource;


// simulating Transaction behavior
public interface ITransaction 
{
	public DataSource getDataSource()  throws SQLException;
	
	public void start()  throws SQLException;
	public void commit()  throws SQLException;
	public void rollback()  throws SQLException;
	public void close()  throws SQLException;
}
